package com.console.operations.planmgr;

import com.common.test.OperationBase;
import com.common.test.UITestBase;
import com.console.pages.LinkPage;

	/*
	@author 王嘉犇
	@name 点击理财计划债权链接
	@type 动作类
	 */

public class ClickFinancePlanLoanLink extends OperationBase {
	
    public ClickFinancePlanLoanLink(UITestBase tb) {
        super(tb);
    }
    
    public void clickLink() throws Exception{
        switchToDefaultContent();
        LinkPage lp = new LinkPage(tb);
        waitForElementExist(lp.financePlanManageLnk);
        lp.financePlanManageLnk.click();
        waitForElementExist(lp.financePlanLoanLnk);
        lp.financePlanLoanLnk.click();
    }
}
